﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SydEnergiDataService;
using System.ServiceModel;

namespace SydEnergiDataServiceHost
{
    class Program
    {
        static void Main(string[] args)
        {
            using (var host = new ServiceHost(typeof(DataRepositoryService)))
            {
                host.Open();
                Console.WriteLine("********** DataRepositoryService: Host is running **********");

                Console.Write("\n\n\nHit 'Enter' to close the host.");
                Console.ReadLine();

                host.Close();
            }
        }
    }
}
